var fs = require('fs');

let parser = fs.readFileSync('graphql-parser.js')
let html = fs.readFileSync('mybatis.html')

let content = html.toString().replace('<script src="graphql-parser.js"></script>','<script>'+parser+'</script>')
fs.writeFileSync('mybatisinner.html',content)